package com.wcp.web.test;

import java.net.URL;

import net.sf.ehcache.Cache;
import net.sf.ehcache.CacheManager;

public class EhcacheDemo {

	public static void main(String[] args) {
		URL url =EhcacheDemo.class.getResource("/WcpCacheConfig.xml") ; 
		CacheManager cacheManager = CacheManager.create(url); 
		Cache mycache=	cacheManager.getCache("worm-test");
		System.out.println(mycache);
	}
	
	
	
}
